CreateMeshBuilder,,,,
AddVertex,-3,1.7,25.5,
AddVertex,-3,1.7,0,
AddVertex,-3,-0.3,25.5,
AddVertex,-3,-0.3,0,
Addface,2,3,1,0

GenerateNormals,,,,

LoadTexture,fence.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,3,0,
SetTextureCoordinates,2,0,1,
SetTextureCoordinates,3,3,1,
SetDecalTransparentColor,0,0,0,

;back,,,,
CreateMeshBuilder,,,,
AddVertex,-23,0,0,
AddVertex,-23,7,0,
AddVertex,-23,7,13.5,
AddVertex,-23,0,13.5,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckfront.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;gable,,,,
CreateMeshBuilder,,,,
AddVertex,-30,0,0,
AddVertex,-30,7,0,
AddVertex,-23,7,0,
AddVertex,-23,0,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckgable.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;roof end,,,,
CreateMeshBuilder,,,,
AddVertex,-30,6.9,0,
AddVertex,-30,10,3.75,
AddVertex,-23,10,3.75,
AddVertex,-23,6.9,0,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckroof2.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0,
SetTextureCoordinates,3,1,1,
SetDecalTransparentColor,0,0,0,

;roof back,,,,
CreateMeshBuilder,,,,
AddVertex,-23,6.9,0,
AddVertex,-26.5,10,0,
AddVertex,-26.5,10,13.5,
AddVertex,-23,6.9,13.5,
AddFace,0,1,2,3

GenerateNormals,,,,

LoadTexture,ckroof1.bmp,,,
SetTextureCoordinates,0,0,1,
SetTextureCoordinates,1,0,0,
SetTextureCoordinates,2,1,0
SetTextureCoordinates,3,1,1
SetDecalTransparentColor,0,0,0
